package cn.iocoder.yudao.module.hs.controller.admin.receiveorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 收货单新增 Request VO")
@Data
public class ReceiveOrderSaveReqVO {

    @Schema(description = "编号列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编号列表不能为空")
    private List<String> codeList;

    @Schema(description = "收货类型 1-自动收货 2-手动收货", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "收货类型不能为空")
    private Integer receiveType;

    @Schema(description = "快速入库 1-是；0-否", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer quickEntry;

    @Schema(description = "出库单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long shipOrderId;

    @Schema(description = "出库单ID")
    private Long warehouseId;
}